//
//  OMGWenDaTableViewCell.m
//  A_project2.0
//
//  Created by dllo on 16/3/15.
//  Copyright © 2016年 七平. All rights reserved.
//

#import "OMGWenDaTableViewCell.h"

#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height

@implementation OMGWenDaTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.titleLabel = [[UILabel alloc] init];
        [self.contentView addSubview:_titleLabel];
        
        self.content = [[UILabel alloc] init];
        [self.contentView addSubview:_content];
        
    }
    return self;
    
    
}
- (void)layoutSubviews
{
    
    [super layoutSubviews];
    _titleLabel.frame = CGRectMake(20, 10, WIDTH - 60, 30);
    _content.frame = CGRectMake(19, 30, WIDTH - 40, 40);
    _content.numberOfLines = 0;
    
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
